How to Install gdb software package in Ubuntu 16.04 LTS (Xenial Xerus)

How to Install gdb software package in Ubuntu 16.04 LTS (Xenial Xerus)

gdb software package provides GNU Debugger, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,

$ sudo apt-get update
$ sudo apt-get install gdb 

gdb is installed in your system.

Make ensure the gdb package were installed using the commands given below,

$ sudo dpkg-query -l | grep gdb *

You will get with gdb package name, version, architecture and description in a table

gdb package basic information:

Distro Ubuntu 16 04 lts xenial xerus
Section Development
Package gdb
Version 7.11-0ubuntu1
Description GNU Debugger
Sub Section Devel


See Also, How to uninstall or remove gdb software package from Ubuntu 16.04 LTS (Xenial Xerus) ?